﻿<?xml version="1.0" encoding="utf-8" ?>
<Configuration>
  <ViewDefinitions>
    <View>
      <Name>Microsoft.SharePoint.SPWeb</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.SharePoint.SPWeb</TypeName>
      </ViewSelectedBy>
      <ListControl>
        <ListEntries>
          <ListEntry>
            <ListItems>
              <ListItem>
                <PropertyName>Title</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>Url</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>Site</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>WebTemplate</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>Author</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>Created</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>LastItemModifiedDate</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>WorkFlowTemplates</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>AllProperties</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>Users</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>AllUsers</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>SiteUsers</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>SiteAdministrators</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>SiteGroups</PropertyName>
              </ListItem>
              <ListItem>
                <PropertyName>AllowAnonymousAccess</PropertyName>
              </ListItem>
            </ListItems>
          </ListEntry>
        </ListEntries>
      </ListControl>
    </View>
    <View>
      <Name>Microsoft.SharePoint.SPWeb</Name>
      <ViewSelectedBy>
        <TypeName>Microsoft.SharePoint.SPWeb</TypeName>
      </ViewSelectedBy>
      <TableControl>
        <TableHeaders>
          <TableColumnHeader>
            <Label>Title</Label>
            <Width>50</Width>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>Url</Label>
            <Width>50</Width>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>Web Count</Label>
            <Alignment>center</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>List Count</Label>
            <Alignment>center</Alignment>
          </TableColumnHeader>
          <TableColumnHeader>
            <Label>Anonymous</Label>
          </TableColumnHeader>
        </TableHeaders >
        <TableRowEntries>
          <TableRowEntry>
            <TableColumnItems>
              <TableColumnItem>
                <PropertyName>Title</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>Url</PropertyName>
              </TableColumnItem>
              <TableColumnItem>
                <ScriptBlock>$_.Webs.Count</ScriptBlock>
              </TableColumnItem>
              <TableColumnItem>
                <ScriptBlock>$_.Lists.Count</ScriptBlock>
              </TableColumnItem>
              <TableColumnItem>
                <PropertyName>AllowAnonymousAccess</PropertyName>
              </TableColumnItem>
            </TableColumnItems>
          </TableRowEntry>
        </TableRowEntries >
      </TableControl >
    </View>
  </ViewDefinitions>
</Configuration>